<?php
namespace mobadmin\models;

use herosphp\bean\Beans;

/**
 * 管理员模型类
 * Date: 17-02-16
 * Time: 下午5:11
 */
class Manager
{
    //saas会员中心，user表
    public $id;
    public $username;
    public $name;
    public $from;
    public $status;
    public $addtime;
    public $edittime;
    public $wxId;
    //微信公众号平台获取的微信信息
    public $wxNickName;
    public $headimgurl;

    /**
     * @return mixed
     */
    public function getId()
    {
        return intval($this->id);
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return mixed
     */
    public function getUsername()
    {
        return $this->username;
    }

    /**
     * @param mixed $username
     */
    public function setUsername($username)
    {
        $this->username = $username;
    }


    /**
     * @return mixed
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param mixed $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }


    /**
     * @return mixed
     */
    public function getAddtime()
    {
        return $this->addtime;
    }

    /**
     * @param mixed $addtime
     */
    public function setAddtime($addtime)
    {
        $this->addtime = $addtime;
    }

    /**
     * @return mixed
     */
    public function getUpdatetime()
    {
        return $this->updatetime;
    }

    /**
     * @param mixed $updatetime
     */
    public function setUpdatetime($updatetime)
    {
        $this->updatetime = $updatetime;
    }



    /**
     * @return mixed
     */
    public function getWxId()
    {
        return $this->wxId;
    }

    /**
     * @param mixed $wxId
     */
    public function setWxId($wxId)
    {
        $this->wxId = $wxId;
    }
    /**
     * @return mixed
     */
    public function getWxNickName()
    {
        return $this->wxNickName;
    }

    /**
     * @param mixed $wxNickName
     */
    public function setWxNickName($wxNickName)
    {
        $this->wxNickName = $wxNickName;
    }



    /**
     * @return mixed
     */
    public function getHeadimgurl()
    {
        return $this->headimgurl;
    }

    /**
     * @param mixed $headimgurl
     */
    public function setHeadimgurl($headimgurl)
    {
        $this->headimgurl = $headimgurl;
    }
}